package com.example.demothree.service;

import com.example.demothree.bean.SaleOrder;
import com.example.demothree.bean.SaleReturnOrder;
import com.example.demothree.dao.SaleReturnOrderDao;
import org.springframework.data.domain.Page;

public interface SaleService {
    public Page<SaleOrder> saleXsdd(Integer page,Integer size);
    //添加销售订单
    public SaleOrder addxsdd(SaleOrder saleOrder);
    //删除销售订单
    public void deletexsdd(Long id);
    public Page<SaleOrder> saleFhck(Integer page,Integer size);
    public Page<SaleReturnOrder> saleXsth(Integer page, Integer size);
    //添加退货订单
    public SaleReturnOrder addxsth(SaleReturnOrder saleReturnOrder);
    //id查询退货订单
    public SaleOrder findById(Long id);
    //删除退货订单
    public void deletexsth(Long id);
}
